package ru.spb.osll.myfit.common;

public class PageError extends PageElement {

  private static final long serialVersionUID = 1L;
  private String m_message;
  
  public PageError() {
    m_message = "";
  }
  
  public PageError(String message) {
    m_message = message;
  }
  
  public void setMessage(String message) {
    m_message = message;
  }
  
  public String getMessage() {
    return m_message;
  }

  @Override
  public PageElementType getType() {
    return PageElementType.PAGE_ERROR;
  }
}
